package website.lhc.chapter3;

import lombok.extern.slf4j.Slf4j;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2022/12/8 16:06
 * @version: 1.0
 */
@Slf4j
public class SimpleTroll implements Troll {
    @Override
    public void attack() {
        log.info("attack");
    }

    @Override
    public int getAttackPower() {
        log.info("getAttackPower:5");
        return 5;
    }

    @Override
    public void fleeBattle() {
        log.info("fleeBattle");
    }
}
